﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace HotelBookingSystem.DataBaseStuff
{

    abstract class CityHotels
    {
        public string[] hotelNames;
    }

    class Varna : CityHotels
    {
        public Varna()
        {
            hotelNames = new string[6]
        {
            "Varna Central Hotel", 
            "Varna Beach Hotel", 
            "Old City Hotel", 
            "New City Hotel", 
            "Vera Hotel", 
            "Varna Welcome",
        };
        }
    }

    class Bourgas : CityHotels
    {
        public Bourgas()
        {
            hotelNames = new string[6]
        {
            "Bourgas Central Hotel", 
            "Bourgas Beach Hotel", 
            "Sand Dune Hotel", 
            "Sunny Hotel", 
            "New Beach Hotel", 
            "Bourgas Lake Hotel",
        };
        }
    }

    class Plovdiv : CityHotels
    {
        public Plovdiv()
        {
            hotelNames = new string[5]
        {
            "Plovdiv Central Hotel", 
            "Plovdiv City Hotel", 
            "Plovdiv Tepe Hotel", 
            "City Hotel", 
            "Old City Hotel", 
        };
        }
    }

    class Balchik : CityHotels
    {
        public Balchik()
        {
            hotelNames = new string[4]
        {
            "Balchik Central Hotel", 
            "Balchik City Hotel",
            "Balchik Dune Hotel", 
            "Royal Hotel", 
            //"Old City Hotel", 
        };
        }
    }

    static class dataCities
    {
        public static CityHotels[] cityClasses;
        static dataCities()
        {
            cityClasses = new CityHotels[4];
            cityClasses[0] = new Varna();
            cityClasses[1] = new Bourgas();
            cityClasses[2] = new Plovdiv();
            cityClasses[3] = new Balchik();
        }
    }
}

//static class Cities
//{
//    private const uint L = 4;
//    public static string[] cityNames;
//    static Cities()
//    {
//        cityNames = new string[L];
//        for (int i = 0; i < L; i++)
//            cityNames[i] = (i+1).ToString() + ". City" + i.ToString();

//    }
//    public static uint Length()
//    {
//        return L;
//    }
//}

//static class Hotels
//{
//    private const uint  L = 18;
//    public static string[] hotelNames;
//    static Hotels()
//    {
//        hotelNames = new string[L];
//        for(int i = 0; i<L; i++)
//            hotelNames[i] = (i+1).ToString()+". Hotel"+i.ToString();
//    }
//    public static uint Length()
//    {
//        return L;
//    }
//}

//static class Rooms
//{
//    private const uint L = 18;
//    public static string[] hotelNames;
//    static Rooms()
//    {
//        hotelNames = new string[L];
//        for (int i = 0; i < L; i++)
//            hotelNames[i] = (i + 1).ToString() + ". Hotel" + i.ToString();
//    }
//    public static uint Length()
//    {
//        return L;
//    }
//}

//static class HotelData
//{
//    private const uint  L = 18;
    
//    public static string[][] hotelData;
//    static Hotels()
//    {
//        hotelNames = new string[L];
//        for(int i = 0; i<L; i++)
//            hotelNames[i] = "Hotel"+i.ToString();

//    }
//    public static uint Length()
//    {
//        return L;
//    }
//}